//
//  settlePickerViewCell.swift
//  NewLndd
//
//  Created by 邵禹曦 on 2020/1/13.
//  Copyright © 2020 辽宁当代. All rights reserved.
//

import UIKit

class settlePickerViewCell: UITableViewCell {

    @IBOutlet weak var coi: UILabel!
    @IBOutlet weak var Btn: UIButton!
    
    // MARK: - 自定义属性
    var ViewModel : settle? {
        
        // 属性监听器
        didSet {
            
            // 1. nil值校验
            guard let ViewModel = ViewModel else {
                return
            }
            coi.text = ViewModel.COI
            //con.text = ViewModel.CON
            
        }
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
